﻿<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<title>jskitLog.html</title>
		<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
		<meta http-equiv="description" content="this is my page">
	 	<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
		<link rel="stylesheet" type="text/css" href="../main.css">
    	<script src="../../release/jskit.core.js"></script>
	    <script src="../JskitConfig_doc.js"></script>
	</head>
	<body>
		<table border="0" id="Table1">
			<tbody>
				<tr>
					<td class="package">
						<strong><font size="4">JskitLog.js</font>
						</strong>
					</td>
				</tr>
				<tr>
					<td class="title">
						Author:
					</td>
				</tr>
				<tr>
					<td class="content">
						AnyRock
					</td>
				</tr>
				<tr>
					<td class="title">
						Initializtion:
					</td>
				</tr>
				<tr>
					<td class="content">
						&nbsp; var jskitLog = new jskitLog();
					</td>
				</tr>
				<tr>
					<td class="title">
						Required:
					</td>
				</tr>
				<tr>
					<td class="content">
						JskitBase.js
						<br />JskitUtil.js
						<br />JskitEvents.js
					</td>
				</tr>
				<tr>
					<td class="title">
						<font color="#ff9900">Attributes:</font>
					</td>
				</tr>
				<tr>
					<td class="title">
						<font color="#ff6600">Methods:</font>
					</td>
				</tr>
				<tr>
					<td class="content">
						<table border="1" cellspacing="0" class="content_list" id="Table2">
							<tbody>
								<tr bgcolor="#cccccc">
									<td>
										Name
									</td>
									<td>
										Parameters
									</td>
									<td>
										Return
									</td>
									<td>
										Comment
									</td>
								</tr>
								<tr>
									<td>
										setLevel(level)
									</td>
									<td>
										level:0-4的整数，代表OFF,ERROR,WARN,INFO,DEBUG
									</td>
									<td></td>
									<td>
										等级的优先级：OFF&gt;ERROR&gt;WARN&gt;INFO&gt;DEBUG，如设置level=3时，debug信息将不会被显示
									</td>
								</tr>
								<tr>
									<td>
										debug(rMsg)
									</td>
									<td>
										rMsg:日志内容
									</td>
									<td></td>
									<td>
										输出调试信息
									</td>
								</tr>
								<tr>
									<td>
										error(rMsg)
									</td>
									<td>
										rMsg:日志内容
									</td>
									<td></td>
									<td>
										输出错误信息
									</td>
								</tr>
								<tr>
									<td>
										info(rMsg)
									</td>
									<td>
										rMsg:日志内容
									</td>
									<td></td>
									<td>
										输出普通信息
									</td>
								</tr>
								<tr>
									<td>
										open()
									</td>
									<td>
										
									</td>
									<td></td>
									<td>
										显示日志窗口
									</td>
								</tr>
								<tr>
									<td>
										onOff()
									</td>
									<td>
										
									</td>
									<td></td>
									<td>
										切换开始/停止日志记录
									</td>
								</tr>
								<tr>
									<td>
										close()
									</td>
									<td>
										
									</td>
									<td></td>
									<td>
										关闭日志窗口
									</td>
								</tr>
								<tr>
									<td>
										clear()
									</td>
									<td>
										
									</td>
									<td></td>
									<td>
										清楚日志内容
									</td>
								</tr>
							</tbody>
						</table>
					</td>
				</tr>
                <tr>
                    <td class="content">
                        <a href="../tools/jskitLog.html">查看示例</a>
                    </td>
                </tr>
			</tbody>
		</table>
	</body>
</html>
